Next | Prev | Up | Top | Contents | Index
Vertical Sync Interrupt
An interrupt is generated for every vertical retrace by the graphics subsystem (see "Understanding the Vertical Sync Interrupt"). The frame rate will be either 50 Hz or 60 Hz, depending on the installed hardware. This interrupt is especially appropriate for a visual simulator, since it defines a frame rate that matches the graphics subsystem frame rate.
To use the vertical sync interrupt, specify FRS_INTRSOURCE_VSYNC to frs_create(). An error is returned if this system lacks a graphics subsystem.
When multiple synchronized schedulers are used, the master Frame Scheduler allocates an interrupt group to distribute the vertical sync interrupt.
Next | Prev | Up | Top | Contents | Index